/*
* Copyright (C) 2010-2011 dppc.org
* All rights reserved.
*/
package com.seemsea.entity.admin.idiom;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.seemsea.dao.IGenericEntity;
import com.seemsea.entity.admin.Page;

/**
 *成语
 *
 *@author chirowong
 *@version 1.0 2011-6-15
 *@since 1.0
 */
@Entity
@Table(name="idiom_idiom")
public class Idiom  extends Page implements IGenericEntity<String>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8529234212121639440L;
	@Id
	private String code;
	private String name;
	private String pinyin;
	private String diangu;
	private String chuchu;
	private String example;
	private String spinyin;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPinyin() {
		return pinyin;
	}
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	public String getDiangu() {
		return diangu;
	}
	public void setDiangu(String diangu) {
		this.diangu = diangu;
	}
	public String getChuchu() {
		return chuchu;
	}
	public void setChuchu(String chuchu) {
		this.chuchu = chuchu;
	}
	public String getExample() {
		return example;
	}
	public void setExample(String example) {
		this.example = example;
	}
	public String getSpinyin() {
		return spinyin;
	}
	public void setSpinyin(String spinyin) {
		this.spinyin = spinyin;
	}
}
